.plugins-browser-item {
	border-left: 1px solid lighten( $gray, 30% );
	box-sizing: border-box;
	cursor: pointer;
	display: block;
	float: left;
	margin: 0;
	position: relative;
	overflow: hidden;

	&.is-placeholder,
	&.is-empty {
		cursor: default;
	}

	.plugins-browser-item__link {
		padding: 16px 16px 48px;
		display: block;
	}

	@include breakpoint( ">960px" ) {
		width: 33.33%;

		&:nth-child( 3n + 1 ) {
			border-left: 0;
		}

		&:nth-child( n + 4 ) {
			border-top: 1px solid lighten( $gray, 30% );
		}
	}

	@include breakpoint( "<960px" ) {
		width: 100%;

		&:nth-child( n + 2 ) {
			border-top: 1px solid lighten( $gray, 30% );
		}

		&.is-empty {
			display: none;
		}
	}
}

.plugins-browser-item {
	.plugin-icon {
		width: 48px;
		height: 48px;

		&.is-placeholder {
			animation: loading-fade 1.6s ease-in-out infinite;
		}
	}
}

.plugins-browser-item__info {
	overflow: hidden; // lazy clearfix
}

.plugins-browser-item__title,
.plugins-browser-item__author {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	margin-left: 60px;

	.is-placeholder & {
		color: transparent;
		background-color: lighten( $gray, 30% );
		animation: loading-fade 1.6s ease-in-out infinite;
	}
}

.plugins-browser-item__title {
	color: $gray-dark;
	font-weight: 600;
	font-size: 15px;
	margin-top: 3px;
}

.plugins-browser-item__author {
	color: $gray;
	font-size: 13px;
}

.plugins-browser-item .plugin-icon.is-placeholder,
.plugins-browser-item .plugin-icon[style*='undefined'] {
	&:before {
		width: 40px;
		height: 40px;
		font: normal 40px/40px Noticons;
	}
}

.plugins-browser-item .plugin-icon {
	margin-right: 0;
}

.plugins-browser-item  .rating {
	padding-top: 10px;
	position: absolute;
		bottom: 16px;
		left: 16px;
}

.plugins-browser-item__installed {
	display: flex;
	align-items: center;
	position: absolute;
		bottom: 16px;
		right: 16px;
	color: $alert-green;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	animation: appear .15s ease-in;

	.gridicon {
		margin-right: 3px;
	}
}
